package com.css.dzj.dzjfxyj.modules.acquier.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

import java.util.Date;
import java.util.Objects;

@Entity
@Table(name = "JG_FXYJ_WARNING_SIGNAL", schema = "FXYJ", catalog = "")
public class JgFxyjWarningSignalEntity {
    private String id;
    private String fxyjId;
    private String fxyjDomainId;
    private String fxyjModelId;
    private String fxyjAreaNumber;
    private String fxyjObjectType;
    private String fxyjObjectId;
    private String fxyjObjectName;
    private String fxyjPlatform;
    private String fxyjWeb;
    private Date fxyjTransmitTime;
    private Date yjbSendTime;
    private Date getTime;
    private String operatePerson;
    private String disposeResult;
    private String disposeExplain;
    private String getState;
    private String overState;
    private String revertState;
    private String dispenseState;
    private String dispensePerson;
    private String dispenseOrg;
    private Date dispenseTime;
    private Date createTime;
    private String createPreson;
    private Date updateTime;
    private String updatePerson;
    private String operateOrg;
    private String fxyjTitle;
    private String fxyjDepict;
    private String fxyjLevel;
    private String fxyjAreaName;
    private String fxyjProps;
    private String fxyjDetailUrl;
    private String fxyjOthers;
    private Date fxyjTime;
    private String fxyjDesc;
    private String dealState;

    @Id
    @Column(name = "Id")
    @GeneratedValue(generator = "SnowflakeId")
    @GenericGenerator(name = "SnowflakeId",strategy = "com.css.dzj.dzjfxyj.common.util.SnowflakeId")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "Fxyj_Id")
    public String getFxyjId() {
        return fxyjId;
    }

    public void setFxyjId(String fxyjId) {
        this.fxyjId = fxyjId;
    }

    @Basic
    @Column(name = "Fxyj_Domain_Id")
    public String getFxyjDomainId() {
        return fxyjDomainId;
    }

    public void setFxyjDomainId(String fxyjDomainId) {
        this.fxyjDomainId = fxyjDomainId;
    }

    @Basic
    @Column(name = "Fxyj_Model_Id")
    public String getFxyjModelId() {
        return fxyjModelId;
    }

    public void setFxyjModelId(String fxyjModelId) {
        this.fxyjModelId = fxyjModelId;
    }

    @Basic
    @Column(name = "Fxyj_Area_Number")
    public String getFxyjAreaNumber() {
        return fxyjAreaNumber;
    }

    public void setFxyjAreaNumber(String fxyjAreaNumber) {
        this.fxyjAreaNumber = fxyjAreaNumber;
    }

    @Basic
    @Column(name = "Fxyj_Object_Type")
    public String getFxyjObjectType() {
        return fxyjObjectType;
    }

    public void setFxyjObjectType(String fxyjObjectType) {
        this.fxyjObjectType = fxyjObjectType;
    }

    @Basic
    @Column(name = "Fxyj_Object_Id")
    public String getFxyjObjectId() {
        return fxyjObjectId;
    }

    public void setFxyjObjectId(String fxyjObjectId) {
        this.fxyjObjectId = fxyjObjectId;
    }

    @Basic
    @Column(name = "Fxyj_Object_Name")
    public String getFxyjObjectName() {
        return fxyjObjectName;
    }

    public void setFxyjObjectName(String fxyjObjectName) {
        this.fxyjObjectName = fxyjObjectName;
    }

    @Basic
    @Column(name = "Fxyj_Platform")
    public String getFxyjPlatform() {
        return fxyjPlatform;
    }

    public void setFxyjPlatform(String fxyjPlatform) {
        this.fxyjPlatform = fxyjPlatform;
    }

    @Basic
    @Column(name = "Fxyj_Web")
    public String getFxyjWeb() {
        return fxyjWeb;
    }

    public void setFxyjWeb(String fxyjWeb) {
        this.fxyjWeb = fxyjWeb;
    }

    @Basic
    @Column(name = "Fxyj_Transmit_Time")
    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getFxyjTransmitTime() {
        return fxyjTransmitTime;
    }

    public void setFxyjTransmitTime(Date fxyjTransmitTime) {
        this.fxyjTransmitTime = fxyjTransmitTime;
    }

    @Basic
    @Column(name = "Yjb_Send_Time")
    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getYjbSendTime() {
        return yjbSendTime;
    }

    public void setYjbSendTime(Date yjbSendTime) {
        this.yjbSendTime = yjbSendTime;
    }

    @Basic
    @Column(name = "Get_Time")
    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getGetTime() {
        return getTime;
    }

    public void setGetTime(Date getTime) {
        this.getTime = getTime;
    }

    @Basic
    @Column(name = "Operate_Person")
    public String getOperatePerson() {
        return operatePerson;
    }

    public void setOperatePerson(String operatePerson) {
        this.operatePerson = operatePerson;
    }

    @Basic
    @Column(name = "Dispose_Result")
    public String getDisposeResult() {
        return disposeResult;
    }

    public void setDisposeResult(String disposeResult) {
        this.disposeResult = disposeResult;
    }

    @Basic
    @Column(name = "Dispose_Explain")
    public String getDisposeExplain() {
        return disposeExplain;
    }

    public void setDisposeExplain(String disposeExplain) {
        this.disposeExplain = disposeExplain;
    }

    @Basic
    @Column(name = "Get_State")
    public String getGetState() {
        return getState;
    }

    public void setGetState(String getState) {
        this.getState = getState;
    }

    @Basic
    @Column(name = "Over_State")
    public String getOverState() {
        return overState;
    }

    public void setOverState(String overState) {
        this.overState = overState;
    }

    @Basic
    @Column(name = "Revert_State")
    public String getRevertState() {
        return revertState;
    }

    public void setRevertState(String revertState) {
        this.revertState = revertState;
    }

    @Basic
    @Column(name = "Dispense_State")
    public String getDispenseState() {
        return dispenseState;
    }

    public void setDispenseState(String dispenseState) {
        this.dispenseState = dispenseState;
    }

    @Basic
    @Column(name = "Dispense_Person")
    public String getDispensePerson() {
        return dispensePerson;
    }

    public void setDispensePerson(String dispensePerson) {
        this.dispensePerson = dispensePerson;
    }

    @Basic
    @Column(name = "Dispense_Org")
    public String getDispenseOrg() {
        return dispenseOrg;
    }

    public void setDispenseOrg(String dispenseOrg) {
        this.dispenseOrg = dispenseOrg;
    }

    @Basic
    @Column(name = "Dispense_Time")
    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getDispenseTime() {
        return dispenseTime;
    }

    public void setDispenseTime(Date dispenseTime) {
        this.dispenseTime = dispenseTime;
    }

    @Basic
    @Column(name = "Create_Time")
    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "Create_Preson")
    public String getCreatePreson() {
        return createPreson;
    }

    public void setCreatePreson(String createPreson) {
        this.createPreson = createPreson;
    }

    @Basic
    @Column(name = "Update_Time")
    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "Update_Person")
    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    @Basic
    @Column(name = "Operate_Org")
    public String getOperateOrg() {
        return operateOrg;
    }

    public void setOperateOrg(String operateOrg) {
        this.operateOrg = operateOrg;
    }

    @Basic
    @Column(name = "Fxyj_Title")
    public String getFxyjTitle() {
        return fxyjTitle;
    }

    public void setFxyjTitle(String fxyjTitle) {
        this.fxyjTitle = fxyjTitle;
    }

    @Basic
    @Column(name = "Fxyj_Desc")
    public String getFxyjDesc() {
        return fxyjDesc;
    }

    public void setFxyjDesc(String fxyjDesc) {
        this.fxyjDesc = fxyjDesc;
    }

    @Basic
    @Column(name = "Fxyj_Level")
    public String getFxyjLevel() {
        return fxyjLevel;
    }

    public void setFxyjLevel(String fxyjLevel) {
        this.fxyjLevel = fxyjLevel;
    }

    @Basic
    @Column(name = "Fxyj_Area_Name")
    public String getFxyjAreaName() {
        return fxyjAreaName;
    }

    public void setFxyjAreaName(String fxyjAreaName) {
        this.fxyjAreaName = fxyjAreaName;
    }

    @Basic
    @Column(name = "Fxyj_Props")
    public String getFxyjProps() {
        return fxyjProps;
    }

    public void setFxyjProps(String fxyjProps) {
        this.fxyjProps = fxyjProps;
    }

    @Basic
    @Column(name = "Fxyj_Detail_Url")
    public String getFxyjDetailUrl() {
        return fxyjDetailUrl;
    }

    public void setFxyjDetailUrl(String fxyjDetailUrl) {
        this.fxyjDetailUrl = fxyjDetailUrl;
    }

    @Basic
    @Column(name = "Fxyj_Others")
    public String getFxyjOthers() {
        return fxyjOthers;
    }

    public void setFxyjOthers(String fxyjOthers) {
        this.fxyjOthers = fxyjOthers;
    }

    @Basic
    @Column(name = "Fxyj_Time")
    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getFxyjTime() {
        return fxyjTime;
    }

    public void setFxyjTime(Date fxyjTime) {
        this.fxyjTime = fxyjTime;
    }

    @Basic
    @Column(name = "Deal_State")
    public String getDealState() {
        return dealState;
    }

    public void setDealState(String dealState) {
        this.dealState = dealState;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JgFxyjWarningSignalEntity that = (JgFxyjWarningSignalEntity) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(fxyjId, that.fxyjId) &&
                Objects.equals(fxyjDomainId, that.fxyjDomainId) &&
                Objects.equals(fxyjModelId, that.fxyjModelId) &&
                Objects.equals(fxyjAreaNumber, that.fxyjAreaNumber) &&
                Objects.equals(fxyjObjectType, that.fxyjObjectType) &&
                Objects.equals(fxyjObjectId, that.fxyjObjectId) &&
                Objects.equals(fxyjObjectName, that.fxyjObjectName) &&
                Objects.equals(fxyjPlatform, that.fxyjPlatform) &&
                Objects.equals(fxyjWeb, that.fxyjWeb) &&
                Objects.equals(fxyjTransmitTime, that.fxyjTransmitTime) &&
                Objects.equals(yjbSendTime, that.yjbSendTime) &&
                Objects.equals(getTime, that.getTime) &&
                Objects.equals(operatePerson, that.operatePerson) &&
                Objects.equals(disposeResult, that.disposeResult) &&
                Objects.equals(disposeExplain, that.disposeExplain) &&
                Objects.equals(getState, that.getState) &&
                Objects.equals(overState, that.overState) &&
                Objects.equals(revertState, that.revertState) &&
                Objects.equals(dispenseState, that.dispenseState) &&
                Objects.equals(dispensePerson, that.dispensePerson) &&
                Objects.equals(dispenseOrg, that.dispenseOrg) &&
                Objects.equals(dispenseTime, that.dispenseTime) &&
                Objects.equals(createTime, that.createTime) &&
                Objects.equals(createPreson, that.createPreson) &&
                Objects.equals(updateTime, that.updateTime) &&
                Objects.equals(updatePerson, that.updatePerson) &&
                Objects.equals(operateOrg, that.operateOrg) &&
                Objects.equals(fxyjTitle, that.fxyjTitle) &&
                Objects.equals(fxyjDesc, that.fxyjDesc) &&
                Objects.equals(fxyjLevel, that.fxyjLevel) &&
                Objects.equals(fxyjAreaName, that.fxyjAreaName) &&
                Objects.equals(fxyjProps, that.fxyjProps) &&
                Objects.equals(fxyjDetailUrl, that.fxyjDetailUrl) &&
                Objects.equals(fxyjOthers, that.fxyjOthers) &&
                Objects.equals(fxyjTime, that.fxyjTime)&&
                Objects.equals(dealState, that.dealState);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, fxyjId, fxyjDomainId, fxyjModelId, fxyjAreaNumber, fxyjObjectType, fxyjObjectId, fxyjObjectName, fxyjPlatform, fxyjWeb, fxyjTransmitTime, yjbSendTime, getTime, operatePerson, disposeResult, disposeExplain, getState, overState, revertState, dispenseState, dispensePerson, dispenseOrg, dispenseTime, createTime, createPreson, updateTime, updatePerson, operateOrg, fxyjTitle, fxyjDesc, fxyjLevel, fxyjAreaName, fxyjProps, fxyjDetailUrl, fxyjOthers, fxyjTime,dealState);
    }
}
